	Event.observe(window, 'load', init, false);
	
	function init(){
		Event.observe('threshlow', 'keyup', changeConfigThreshlow, false);
		Event.observe('threshmed', 'keyup', changeConfigThreshmed, false);
		Event.observe('threshtop', 'keyup', changeConfigThreshtop, false);
		Event.observe('fresh',     'keyup', changeConfigFresh,     false);
		Event.observe('initial',   'keyup', changeConfigInitial,   false);
	}
	function changeConfigThreshlow(){
	  	var url = 'index.php?module=conversations&type=user&func=updateconfig&pageName=module';
		var pars = 'threshlow='+escape($F('threshlow'));
		var target = 'threshlow-result';
		var myAjax = new Ajax.Updater(target, url, {	method: 'post',	parameters: pars});
	}
	function changeConfigThreshmed(){
	  	var url = 'index.php?module=conversations&type=user&func=updateconfig&pageName=module';
		var pars = 'threshmed='+escape($F('threshmed'));
		var target = 'threshmed-result';
		var myAjax = new Ajax.Updater(target, url, {	method: 'post',	parameters: pars});
	}
	function changeConfigThreshtop(){
	  	var url = 'index.php?module=conversations&type=user&func=updateconfig&pageName=module';
		var pars = 'threshtop='+escape($F('threshtop'));
		var target = 'threshtop-result';
		var myAjax = new Ajax.Updater(target, url, {	method: 'post',	parameters: pars});
	}
	function changeConfigFresh(){
	  	var url = 'index.php?module=conversations&type=user&func=updateconfig&pageName=module';
		var pars = 'fresh='+escape($F('fresh'));
		var target = 'fresh-result';
		var myAjax = new Ajax.Updater(target, url, {	method: 'post',	parameters: pars});
	}
	function changeConfigInitial(){
	  	var url = 'index.php?module=conversations&type=user&func=updateconfig&pageName=module';
		var pars = 'initial='+escape($F('initial'));
		var target = 'initial-result';
		var myAjax = new Ajax.Updater(target, url, {	method: 'post',	parameters: pars});
	}
	